package com.openweixin.sheknows.dao;
import java.util.List;

import com.openweixin.sheknows.domain.UserNewAnswer;
import com.openweixin.sheknows.domain.UserNewScore;
public interface UserNewAnswerDao extends BaseDao<UserNewAnswer, Integer> {
	/**
	 * 通过uid获取得到的新回复的条数
	 * @param uid
	 * @return
	 */
	Long getNewAnswerCountByUid(Integer uid);
	/**
	 * 通过uid删除新的回复提示
	 * @param uid
	 * @return
	 */
	int deleteByUid(Integer uid);
	/**
	 * 通过uid和qid获取到新的回复
	 * @param uid
	 * @param qid
	 * @return
	 */
	List<UserNewScore> getNewScoreByUidAndQid(Integer uid, Integer qid);
}
